﻿using Hehq.Core.Apps;
using Hehq.Core.Apps.Attributes;
using Hehq.Core.AppsImpl;
 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hehq.Tenant.WebApi
{
    /// <summary>
    /// 模块信息
    /// </summary>
    [DynamicWebApi]
    internal interface IWebApi : Hehq.Apps.IDynamic
    {

    }

    public abstract class AbsApp: BaseApp
    {

    }


    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public  abstract class AbsWebApp<T> : BaseApp where T : IBaseApp  
    {
        /// <summary>
        /// 
        /// </summary>
        public T App
        {
            get
            {
                return this.GetApp<T>();
            }
        }
    }
}
